﻿using System;
using System.Collections.Generic;
using System.Web.Mvc;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace App.Views.ViewModels
{
    #region "守灵服务视图模型"
    public class WakeServiceEditViewModel:UCServicesItemListSelectViewModel
    {
        [Required(ErrorMessage="*")]
        [DisplayName("守灵编号")]
        public string WakeNO{get;set;}

        [Required(ErrorMessage = "*")]
        [DisplayName("服务编号")]
        public string ServiceNo{get;set;}

        [Required(ErrorMessage = "*")]
        [DisplayName("死者编号")]
        public string DeadNO { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("守灵厅号")]
        public string HallNO { get; set; }

        [Required(ErrorMessage = "*")]
        [DisplayName("开始时间")]
        public DateTime StartTime{get;set;}

        [Required(ErrorMessage = "*")]
        [DisplayName("结束时间")]
        public DateTime EndTime { get; set; }

        [DisplayName("守灵天数")]
        public int? WakeDays { get; set; }
    }
    #endregion

    #region "守灵厅状态视图模型"
    public class WakeHallStatusViewModel {
        public string HallNO { get; set; }
        public string HallName { get; set; }
        public string Status { get; set; }
        public DateTime? StartTime { get; set; }
        public DateTime? EndTime { get; set; }
        public string Remark { get; set; }
    }
    #endregion
}